/*******************************************************************************
 * Copyright (c) 2010, 2030 www.itlaobing.cn
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 *******************************************************************************/
package cn.itlaobing.model;

import java.io.Serializable;
import java.util.Date;

/** 
 * ClassName: OrderModel <br/> 
 * Function: TODO 功能描述 <br/> 
 * date: 2017年11月1日 上午10:38:23 <br/> 
 * 
 * @author lhb 
 * @version  
 * @since JDK 1.8 
 */
public class OrderModel implements Serializable{
	private Integer orderformid;
	private String orderformcount;
	private Date havetime;//下单时间
	private Integer userid;
	//订单总金额
	private Double ordertotal;
	// 订单状态    1-未支付   2-正在配货  3-已出库  4-正在配送  5-已收货  6-已取消
	private Integer orderstatus;
	// 订单来源    1-网站    2-手机APP   3-微信
	private Integer orderfrom;
	// 收货人姓名
	private String contactername;
	private String contacterphone;
	private String contacteraddress;
	
	
	/**
	 * 
	 */
	public OrderModel() {
		super();
	}
	/**
	 * @param orderformid
	 * @param orderformcount
	 * @param havetime
	 * @param userid
	 * @param ordertotal
	 * @param orderstatus
	 * @param orderfrom
	 * @param contactername
	 * @param contacterphone
	 * @param contacteraddress
	 */
	public OrderModel(Integer orderformid, String orderformcount, Date havetime, Integer userid, Double ordertotal,
			Integer orderstatus, Integer orderfrom, String contactername, String contacterphone,
			String contacteraddress) {
		super();
		this.orderformid = orderformid;
		this.orderformcount = orderformcount;
		this.havetime = havetime;
		this.userid = userid;
		this.ordertotal = ordertotal;
		this.orderstatus = orderstatus;
		this.orderfrom = orderfrom;
		this.contactername = contactername;
		this.contacterphone = contacterphone;
		this.contacteraddress = contacteraddress;
	}
	/**
	 * @return the orderformid
	 */
	public Integer getOrderformid() {
		return orderformid;
	}
	/**
	 * @param orderformid the orderformid to set
	 */
	public void setOrderformid(Integer orderformid) {
		this.orderformid = orderformid;
	}
	/**
	 * @return the orderformcount
	 */
	public String getOrderformcount() {
		return orderformcount;
	}
	/**
	 * @param orderformcount the orderformcount to set
	 */
	public void setOrderformcount(String orderformcount) {
		this.orderformcount = orderformcount;
	}
	/**
	 * @return the havetime
	 */
	public Date getHavetime() {
		return havetime;
	}
	/**
	 * @param havetime the havetime to set
	 */
	public void setHavetime(Date havetime) {
		this.havetime = havetime;
	}
	/**
	 * @return the userid
	 */
	public Integer getUserid() {
		return userid;
	}
	/**
	 * @param userid the userid to set
	 */
	public void setUserid(Integer userid) {
		this.userid = userid;
	}
	/**
	 * @return the ordertotal
	 */
	public Double getOrdertotal() {
		return ordertotal;
	}
	/**
	 * @param ordertotal the ordertotal to set
	 */
	public void setOrdertotal(Double ordertotal) {
		this.ordertotal = ordertotal;
	}
	/**
	 * @return the orderstatus
	 */
	public Integer getOrderstatus() {
		return orderstatus;
	}
	/**
	 * @param orderstatus the orderstatus to set
	 */
	public void setOrderstatus(Integer orderstatus) {
		this.orderstatus = orderstatus;
	}
	/**
	 * @return the orderfrom
	 */
	public Integer getOrderfrom() {
		return orderfrom;
	}
	/**
	 * @param orderfrom the orderfrom to set
	 */
	public void setOrderfrom(Integer orderfrom) {
		this.orderfrom = orderfrom;
	}
	/**
	 * @return the contactername
	 */
	public String getContactername() {
		return contactername;
	}
	/**
	 * @param contactername the contactername to set
	 */
	public void setContactername(String contactername) {
		this.contactername = contactername;
	}
	/**
	 * @return the contacterphone
	 */
	public String getContacterphone() {
		return contacterphone;
	}
	/**
	 * @param contacterphone the contacterphone to set
	 */
	public void setContacterphone(String contacterphone) {
		this.contacterphone = contacterphone;
	}
	/**
	 * @return the contacteraddress
	 */
	public String getContacteraddress() {
		return contacteraddress;
	}
	/**
	 * @param contacteraddress the contacteraddress to set
	 */
	public void setContacteraddress(String contacteraddress) {
		this.contacteraddress = contacteraddress;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return super.toString();
	}
}
